/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package character_6;

import java.util.Scanner;

/**
 *
 * @author Administrator
 */
public class ConsoleGame extends GuessGame{

    private Scanner scanner = new Scanner(System.in);
    
    @Override
    public void print(String text){
        System.out.print(text);
    }
    
    @Override
    public void println(String text){
        System.out.println(text);
    }
    
    @Override
    public int nextInt(){
        return scanner.nextInt();
    }
}
